package moonstar.Calculator.OperationImpl;

import moonstar.Calculator.Operation;

public class division implements Operation {

    //每个operation都有一个对应的char
    public static final char c='/';

    public int order=9;
    @Override
    public double calculate(double o1, double o2) {
        return o1/o2;
    }

    @Override
    public char getchar() {
        return c;
    }

    @Override
    public int getOrder() {
        return order;
    }
}